﻿using Ninject.Core.Behavior;
using TestBat.Frontend.Controllers;
using TestBat.Frontend.Controllers.Factories;

namespace TestBat.GuyWire.Frontend
{
    public class FrontendModule : Ninject.Core.StandardModule
    {
        public override void Load()
        {
            Bind<OverviewController>().ToSelf();
            Bind<IndexController>().ToSelf();

            Bind<ControllerFactory>().ToSelf().Using<SingletonBehavior>();
        }
    }
}
